package com.zl.singleton;

/**
 * @author zengle
 * @create 2021-07-01 15:25
 */
public class Singleton4 {

    private Singleton4() {

    }

    private static class SingletonHelper {
        private static final Singleton4 SINGLETON_4 = new Singleton4();
    }

    public static Singleton4 getInstance() {
        return SingletonHelper.SINGLETON_4;
    }
}
